Import('files_to_compile env')

for file_info in files_to_compile:    
    build_target = f'#/build/{file_info.language}/{file_info.chapter}/{file_info.path.stem}'
    build_result = env.C(build_target, str(file_info.path), LIBS='m')
    env.Alias(str(file_info.chapter), build_result)
